<template>
    <header>
        <Navbar :isAuth="$store.getters.isAuth"/>
    </header>
    <div class=" container-lg my-3">
            <router-view></router-view>
            </div>
</template>

<script>
import Navbar from "@/components/Navbar.vue";

export default {
    components: {
        Navbar
    },
    created() {
        this.$store.commit('login', this.$cookies.get('token'));
    }
}
</script>

<style lang="scss" scoped></style>